﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Sockets;
using System.Text;
using System.Threading.Tasks;

namespace mode
{
    public class prjversion
    {
       public string name;
        public int version;
        public string file;
        public int index;
    }

    public class filestate
    {
        Socket soc;
        byte[] state;
        String filename;
        string path;
        DateTime dt;
        public string Filename
        {
            get
            {
                return filename;
            }

            set
            {
                filename = value;
            }
        }

        public byte[] State
        {
            get
            {
                return state;
            }

            set
            {
                state = value;
            }
        }

        public DateTime Dt
        {
            get
            {
                return dt;
            }

            set
            {
                dt = value;
            }
        }

        public string Path
        {
            get
            {
                return path;
            }

            set
            {
                path = value;
            }
        }

        public Socket Soc
        {
            get
            {
                return soc;
            }

            set
            {
                soc = value;
            }
        }
    }
    public   class filestream
    {
        int index;
        int len;
        String filename;
        long maxlen;
        public int Index
        {
            get
            {
                return index;
            }

            set
            {
                index = value;
            }
        }

        public int Len
        {
            get
            {
                return len;
            }

            set
            {
                len = value;
            }
        }

        public string Filename
        {
            get
            {
                return filename;
            }

            set
            {
                filename = value;
            }
        }

        public byte[] Stream
        {
            get
            {
                return stream;
            }

            set
            {
                stream = value;
            }
        }

        public long Maxlen
        {
            get
            {
                return maxlen;
            }

            set
            {
                maxlen = value;
            }
        }

        byte[] stream;
    }
}
